import React, { Component } from 'react';
import { NavLink } from 'react-router-dom';
import '../styles/Tabber.css'
class Tabber extends Component {
    render() {
        return (
            <div className='tabber'>
                <NavLink to='/index/home'>
                    <i className='iconfont icon-dianpu'></i>
                    <span>店铺</span>
                </NavLink>
                <NavLink to='/index/cate'>
                    <i className='iconfont icon-fenlei'></i>
                    <span>分类</span>
                </NavLink>
                <NavLink to='/index/allgoods'>
                    <i className='iconfont icon-fenceng'></i>
                    <span>全部商品</span>
                </NavLink>
                <NavLink to='/index/cart'>
                    <i className='iconfont icon-gouwuche'></i>
                    <span>购物车</span>
                </NavLink>
                <NavLink to='/index/me'>
                    <i className='iconfont icon-gerenzhongxin'></i>
                    <span>个人中心</span>
                </NavLink>
            </div>
        );
    }
}

export default Tabber;